package com.jinmdz.fmis.api.admin.model.goodsservice;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.dao.base.BaseItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 物品包子物品列表Item
 *
 * @author LiCongLu
 * @date 2020-03-26 14:04
 */
@ApiModel(value = "物品包子物品列表Item", description = "物品包子物品列表Item")
public class GoodsServiceChildListItem extends BaseItem {

    /**
     * 服务分类外键
     */
    @ApiModelProperty(value = "服务分类外键", name = "serviceTypeId", position = 1)
    private Integer serviceTypeId;

    /**
     * 类型名称
     */
    @ApiModelProperty(value = "类型名称", name = "serviceTypeName", position = 2)
    private String serviceTypeName;

    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称", name = "itemName", position = 3)
    private String itemName;

    /**
     * 项目价格
     */
    @ApiModelProperty(value = "项目价格", name = "itemPrice", position = 4)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @ApiModelProperty(value = "项目数量", name = "itemNumber", position = 5)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemNumber;

    /**
     * 项目单位
     */
    @ApiModelProperty(value = "项目单位", name = "itemUnit", position = 6)
    private String itemUnit;

    /**
     * 是否物品
     */
    @ApiModelProperty(value = "是否物品", name = "asGoods", position = 7)
    private Integer asGoods;

    public Integer getServiceTypeId() {
        return serviceTypeId;
    }

    public GoodsServiceChildListItem setServiceTypeId(Integer serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
        return this;
    }

    public String getServiceTypeName() {
        return serviceTypeName;
    }

    public GoodsServiceChildListItem setServiceTypeName(String serviceTypeName) {
        this.serviceTypeName = serviceTypeName;
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public GoodsServiceChildListItem setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public GoodsServiceChildListItem setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
        return this;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public GoodsServiceChildListItem setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
        return this;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public GoodsServiceChildListItem setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
        return this;
    }

    public Integer getAsGoods() {
        return asGoods;
    }

    public GoodsServiceChildListItem setAsGoods(Integer asGoods) {
        this.asGoods = asGoods;
        return this;
    }
}
